<!DOCTYPE html>
<html lang="">
<!-- 
    Modified: 2025-10-21
    Based on: xmky-exam (https://gitee.com/zhanghucheng/exam)
    License: GPL-2.0
    Changes: Added default page title for customization support
-->
<head>
    <meta charset="UTF-8">
    <link rel="icon" href="/favicon.ico">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>数智化团队考试系统</title>
    <!-- <script type="module" src="/config.js"></script> -->
    <script>
        document.write(`<script type="module" src="/config.js?t=${Date.now()}"><\/script>`);
    </script>
</head>

<body>
    <div id="app"></div>
    <script type="module" src="/src/main.ts"></script>
    <script>
        var _hmt = _hmt || [];
        (function () {
            var hm = document.createElement("script");
            hm.src = "https://hm.baidu.com/hm.js?54aa8bb200e9319a2f232f64d88ec00e";
            var s = document.getElementsByTagName("script")[0];
            s.parentNode.insertBefore(hm, s);
        })();
    </script>

</body>
<style lang="scss" scoped>
    * {
        box-sizing: border-box;
    }

    body {
        margin: 0;
        background-color: var(--color-gray-50);
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
        font-size: 14px;
        line-height: 1.6;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
        font-feature-settings: "kern" 1;

        #app {
            display: flex;
            height: 100vh;
            width: 100vw;
            overflow: hidden;
        }
    }

    :root {
        /* 主色系 - 现代科技蓝 */
        --color-primary: #2563EB;
        --color-primary-light: #3B82F6;
        --color-primary-dark: #1E40AF;
        --color-primary-bg: #EFF6FF;
        
        /* 辅助色 */
        --color-secondary: #06B6D4;
        --color-accent: #8B5CF6;
        
        /* 中性色系 */
        --color-gray-50: #F9FAFB;
        --color-gray-100: #F3F4F6;
        --color-gray-200: #E5E7EB;
        --color-gray-300: #D1D5DB;
        --color-gray-400: #9CA3AF;
        --color-gray-500: #6B7280;
        --color-gray-600: #4B5563;
        --color-gray-700: #374151;
        --color-gray-800: #1F2937;
        --color-gray-900: #111827;
        
        /* 语义色 */
        --color-success: #10B981;
        --color-success-bg: #ECFDF5;
        --color-warning: #F59E0B;
        --color-warning-bg: #FFFBEB;
        --color-error: #EF4444;
        --color-error-bg: #FEF2F2;
        --color-info: #3B82F6;
        --color-info-bg: #EFF6FF;
        
        /* 间距系统 */
        --spacing-xs: 4px;
        --spacing-sm: 8px;
        --spacing-md: 12px;
        --spacing-lg: 16px;
        --spacing-xl: 24px;
        --spacing-2xl: 32px;
        --spacing-3xl: 48px;
        --spacing-4xl: 64px;
        
        /* 圆角系统 */
        --radius-sm: 4px;
        --radius-md: 8px;
        --radius-lg: 12px;
        --radius-xl: 16px;
        --radius-full: 9999px;
        
        /* 阴影系统 */
        --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
        --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        
        /* 过渡 */
        --transition: all 0.2s ease;
    }

    /* Element Plus 组件优化 - 扁平化设计 */
    .el-input {
        .el-input__wrapper {
            border-radius: var(--radius-md);
            transition: var(--transition);

            &.is-focus {
                box-shadow: 0 0 0 2px var(--color-primary-bg);
                border-color: var(--color-primary);
            }
        }
    }

    .el-button {
        border-radius: var(--radius-md);
        transition: var(--transition);
        
        &--primary {
            background-color: var(--color-primary);
            border-color: var(--color-primary);
            
            &:hover {
                background-color: var(--color-primary-light);
                border-color: var(--color-primary-light);
            }
            
            &:active {
                background-color: var(--color-primary-dark);
                border-color: var(--color-primary-dark);
            }
        }
    }

    .el-radio {
        &.is-bordered {
            height: 38px;
            border-radius: var(--radius-md);
            transition: var(--transition);

            &.is-checked {
                border-color: var(--color-primary);
                background-color: var(--color-primary-bg);
            }
        }

        &.is-disabled {
            .el-radio__label {
                color: var(--color-gray-400);
            }
        }

        .el-radio__input {
            &.is-checked {
                .el-radio__inner {
                    width: 18px;
                    height: 18px;
                    background-color: var(--color-primary);
                    border-color: var(--color-primary);

                    &::after {
                        background-color: white;
                    }
                }

                +.el-radio__label {
                    font-size: 14px;
                    color: var(--color-gray-900) !important;
                    line-height: 45px;
                }
            }

            +.el-radio__label {
                font-size: 14px;
                color: var(--color-gray-700) !important;
                line-height: 45px;
            }

            .el-radio__inner {
                width: 18px !important;
                height: 18px !important;
                border-color: var(--color-gray-300);
                transition: var(--transition);
            }
        }
    }

    .el-checkbox {
        .el-checkbox__input {
            &.is-disabled {
                .el-checkbox__inner {
                    background-color: var(--color-gray-100);
                    width: 17px;
                    height: 17px;
                    border: 1px solid var(--color-gray-300);
                    border-radius: var(--radius-sm);
                }
            }

            &.is-checked {
                .el-checkbox__inner {
                    width: 17px;
                    height: 17px;
                    border: 1px solid var(--color-primary);
                    border-radius: var(--radius-sm);
                    background-color: var(--color-primary);
                    transition: var(--transition);

                    &:after {
                        left: 5px;
                        width: 5px;
                        height: 8px;
                        border: 2px solid #ffffff;
                        border-left: 0;
                        border-top: 0;
                        transform: rotate(45deg) scaleY(1);
                        top: 2px;
                    }
                }
            }

            .el-checkbox__inner {
                width: 17px;
                height: 17px;
                border-color: var(--color-gray-300);
                transition: var(--transition);
            }
        }

        .el-checkbox__label {
            color: var(--color-gray-700) !important;
        }
    }

    .el-select__wrapper {
        border-radius: var(--radius-md);
        transition: var(--transition);
        
        &.is-focused {
            box-shadow: 0 0 0 2px var(--color-primary-bg);
            border-color: var(--color-primary);
        }
    }

    .el-select-dropdown__item {
        &.is-selected {
            color: var(--color-primary);
            background-color: var(--color-primary-bg);
        }
        
        &:hover {
            background-color: var(--color-gray-100);
        }
    }

    .el-textarea__inner {
        border-radius: var(--radius-md);
        transition: var(--transition);
        
        &:focus {
            box-shadow: 0 0 0 2px var(--color-primary-bg);
            border-color: var(--color-primary);
        }
    }

    .el-table {
        /* 移除固定宽度，避免表格动态变宽问题 */
        /* 表格应该由其容器控制宽度，而不是全局固定 */
        
        .el-table__header {
            .el-table__cell {
                background: var(--color-gray-50);
                font-weight: 500;
                color: var(--color-gray-700);
            }
        }
        
        .el-table__body {
            .el-table__cell {
                color: var(--color-gray-900);
            }
        }
        
        /* 禁用表格相关元素的 transition，防止宽度动画循环 */
        .el-table__header-wrapper,
        .el-table__body-wrapper,
        .el-table__cell {
            transition: none !important;
        }
    }
</style>

</html>